TELDefault
Initializes a telephone record by filling in the configuration fields with the default values supplied by the telephone tool.
pascal TELErr TELDefault ( Ptr *theConfig, short procID, Boolean allocate);
theConfig
- A pointer to the configuration details for the telephone tool.
procID
- A tool ID returned by the
TELGetProcID
function.allocate
- A value that indicates whether the telephone tool should allocate space for the configuration information. If the value is
true
, space is allocated fortheConfig
in the current heap zone. If the value isfalse
, no memory allocation is performed.- function result
- A result code. The result code
telNoErr
indicates that the function completed without any errors. See "Result Codes" on page 1-58 for a list of other result codes that the Telephone Manager may return.DESCRIPTION
TheTELDefault
function provides the settings for the configuration fields (config
andoldConfig
) when a new telephone record is created by theTELNew
or theTELNewWithResult
function.SPECIAL CONSIDERATIONS
Your application might not need to call this function, because it's called automatically byTELNew
andTELNewWithResult
.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help